Skip to main content
Version: Upcoming

SOQConstituentSymbolMap

V8 Message Definiton

METADATA

AttributeValue
Topic2750-market-data-options
MLink TokenClientLive
ProductSRLive
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
ticker_atenum - AssetTypePRI'None'Underlying symbol
ticker_tsenum - TickerSrcPRI'None'Underlying symbol
ticker_tkVARCHAR(12)PRI''Underlying symbol
okey_atenum - AssetTypePRI'None'Constituent symbol
okey_tsenum - TickerSrcPRI'None'Constituent symbol
okey_tkVARCHAR(12)PRI''Constituent symbol
okey_yrSMALLINT UNSIGNEDPRI0Constituent symbol
okey_mnTINYINT UNSIGNEDPRI0Constituent symbol
okey_dyTINYINT UNSIGNEDPRI0Constituent symbol
okey_xxDOUBLEPRI0Constituent symbol
okey_cpenum - CallPutPRI'Call'Constituent symbol
soqIdentifierVARCHAR(20)PRI''SOQ dissemination symbol
symCondenum - SOQSymbolCondition'None'Condition code for constituent symbol
srcTimestampBIGINT0exchange high precision timestamp if available
netTimestampBIGINT0inbound packet PTP timestamp from SR gateway switchusually syncronized with f
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ticker_tk1
ticker_at2
ticker_ts3
okey_tk4
okey_yr5
okey_mn6
okey_dy7
okey_xx8
okey_cp9
okey_at10
okey_ts11
soqIdentifier12

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRLive`.`MsgSOQConstituentSymbolMap` (
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'Underlying symbol',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'Underlying symbol',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'Underlying symbol',
`okey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'Constituent symbol',
`okey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'Constituent symbol',
`okey_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'Constituent symbol',
`okey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Constituent symbol',
`okey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Constituent symbol',
`okey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Constituent symbol',
`okey_xx` DOUBLE NOT NULL DEFAULT 0 COMMENT 'Constituent symbol',
`okey_cp` ENUM('Call','Put','Pair') NOT NULL DEFAULT 'Call' COMMENT 'Constituent symbol',
`soqIdentifier` VARCHAR(20) NOT NULL DEFAULT '' COMMENT 'SOQ dissemination symbol',
`symCond` ENUM('None','Normal','ClosingOnly') NOT NULL DEFAULT 'None' COMMENT 'Condition code for constituent symbol',
`srcTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'exchange high precision timestamp (if available)',
`netTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'inbound packet PTP timestamp from SR gateway switch;usually syncronized with f',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`ticker_tk`,`ticker_at`,`ticker_ts`,`okey_tk`,`okey_yr`,`okey_mn`,`okey_dy`,`okey_xx`,`okey_cp`,`okey_at`,`okey_ts`,`soqIdentifier`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='';

SELECT TABLE EXAMPLE QUERY

SELECT
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`okey_at`,
`okey_ts`,
`okey_tk`,
`okey_yr`,
`okey_mn`,
`okey_dy`,
`okey_xx`,
`okey_cp`,
`soqIdentifier`,
`symCond`,
`srcTimestamp`,
`netTimestamp`,
`timestamp`
FROM `SRLive`.`MsgSOQConstituentSymbolMap`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ticker_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk'
AND
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`okey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`okey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`okey_tk` = 'Example_okey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`okey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`okey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`okey_dy` = 1
AND
/* Replace with a DOUBLE */
`okey_xx` = 4.56
AND
/* Replace with a ENUM('Call','Put','Pair') */
`okey_cp` = 'Call'
AND
/* Replace with a VARCHAR(20) */
`soqIdentifier` = 'Example_soqIdentifier';

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='SOQConstituentSymbolMap' ORDER BY ordinal_position ASC;